package com.pig.rpc.client.dto;

/**
 * @author by 李志伟
 * Create Date: 2019/1/7 17:17
 * Description:
 */
public class Result<T> {
    private byte success;
    private int error;
    private T obj;

    public byte getSuccess() {
        return success;
    }

    public void setSuccess(byte success) {
        this.success = success;
    }

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }
}
